Happy Wednesday, sunsgp!
It sounds like you're receiving a message that your external disk used for backing up is being unexpectedly disconnected. That's not great! It's important to be able to successfully complete backups. I have a few solutions to help in this case.
If you haven't already done so, be sure that the cable connecting your iMac to your external disc is secured tightly. A loose connection may unexpectedly disconnect the external drive. To ensure that this isn't a problem with only one port, it may also be a good idea to try using a different port with this drive if there is one available.
Beyond that, a quick reset to the System Management Controller may help. Here's how to complete that step:
Reset the System Management Controller (SMC) on your Mac
If you continue to see an issue, be sure to list all of the steps you were able to complete in your reply. Cheers!